home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
SNIP9_91.ARJ
/
KEYLOCKS.C
< prev
next >
Wrap
Text File
|
1990-09-02
|
295b
|
22 lines
static unsigned char far *keyflags = (char far *)0x00400017;
void setcaps(void)
{
*keyflags |= 0x40;
}
void clrcaps(void)
{
*keyflags &= ~0x40;
}
void setnumlock(void)
{
*keyflags |= 0x20;
}
void clrnumlock(void)
{
*keyflags &= ~0x20;
}